import java.sql.SQLOutput;
import java.util.Random;

public class demo7 {
    public static void main(String[] args) {
        int []arr=new int[]{12,45,98,73,60};
        Random random=new Random();
        for (int i = 0; i <arr.length ; i++) {
            int intex=random.nextInt(arr.length);
            int num;
            num=arr[i];
            arr[i]=arr[intex];
            arr[intex]=num;
        }
        for (int i = 0; i <arr.length ; i++) {
            System.out.print(arr[i]+" ");

        }
    }
}
